import Request from "./request";

const BASE_URL = "http://codercba.com:9060/music-next/api"; //  默认基础的URL
const TIME_OUT = 10000;
export default new Request({
  baseURL: BASE_URL,
  timeout: TIME_OUT,
});

export interface ResultData<T> {
  code: number;
  data: T;
}
